package com.vs.meepet.app

import android.app.Application
import com.vs.meepet.manager.GlobalActivityManager
import com.vs.meepet.network.UAManager

/**
 *
 * 作者：柯嘉少
 * 邮箱：2449926649@qq.com
 * 日期: 2024/9/12
 * 修改人: xxx(des)
 * 说明:
 * 版本: 1.0
 */
class LocalApplication : Application() {
    override fun onCreate() {
        super.onCreate()
        initUA()
        GlobalActivityManager.INSTANCE.init(this)
    }

    private fun initUA() {
        UAManager.ua =
            "Mozilla/5.0 (Linux; Android 13; SM-N981U Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/111.0.5563.116 Mobile Safari/537.36 giao#AppName/coslove Channel/default AppVersion/4.5.0 IsBanana/0 OS/Android AppTag/main Muid/a7cd1716faa32583f867f46ae3b73412"
    }

}